package com.unionpay.bean;

import org.codehaus.jackson.annotate.JsonWriteNullProperties;

@SuppressWarnings("deprecation")
public class ReqBlockInfo extends Request {
	private Data data;

	public Data getData() {
		return data;
	}

	public void setData(Data data) {
		this.data = data;
	}

	@JsonWriteNullProperties(false)
	public class Data extends Request.Data {
		private String nodeurl;
		private String queryType;
		private String blockHash;
		private String blockNumber;

		public String getNodeurl() {
			return nodeurl;
		}

		public void setNodeurl(String nodeurl) {
			this.nodeurl = nodeurl;
		}

		public String getQueryType() {
			return queryType;
		}

		public void setQueryType(String queryType) {
			this.queryType = queryType;
		}

		public String getBlockHash() {
			return blockHash;
		}

		public void setBlockHash(String blockHash) {
			this.blockHash = blockHash;
		}

		public String getBlockNumber() {
			return blockNumber;
		}

		public void setBlockNumber(String blockNumber) {
			this.blockNumber = blockNumber;
		}

	}
}
